#!/bin/bash
for i in `kubectl get deployments.apps -n rebuild-dev | awk '{print $1}'`;
do
    kubectl scale deployment $i --replicas=0 -n rebuild-dev
done